package com.example.booklist.adapter;

/**
 * ClassName: Slf4jLog4jAdapter
 * Package: IntelliJ IDEA
 * Description:
 *
 * @Author 谷京京
 * @Create 2023/11/29 19:45
 * @Version 1.0
 */
public class Slf4jLog4jAdapter implements Slf4jApi{
    private Log4j log4j;

    public Slf4jLog4jAdapter(Log4j log4j) {
        this.log4j = log4j;
    }

    @Override
    public void log(String message) {
        System.out.println("Log4j:" + message);
    }
}
